.class public Lde/dealdoktor/app/views/TabBarButton;
.super Landroid/widget/RadioButton;
.source "TabBarButton.java"


# instance fields
.field context:Landroid/content/Context;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 3
    .parameter "context"

    .prologue
    const/16 v2, 0xa

    const/4 v1, 0x0

    .line 13
    invoke-direct {p0, p1}, Landroid/widget/RadioButton;-><init>(Landroid/content/Context;)V

    .line 14
    iput-object p1, p0, Lde/dealdoktor/app/views/TabBarButton;->context:Landroid/content/Context;

    .line 15
    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lde/dealdoktor/app/views/TabBarButton;->setLines(I)V

    .line 16
    const v0, 0x7f020005

    invoke-virtual {p0, v0}, Lde/dealdoktor/app/views/TabBarButton;->setBackgroundResource(I)V

    .line 17
    const/16 v0, 0x32

    invoke-virtual {p0, v0}, Lde/dealdoktor/app/views/TabBarButton;->setHeight(I)V

    .line 18
    invoke-virtual {p0, v1, v2, v1, v2}, Lde/dealdoktor/app/views/TabBarButton;->setPadding(IIII)V

    .line 19
    const/16 v0, 0x46

    invoke-virtual {p0, v0}, Lde/dealdoktor/app/views/TabBarButton;->setMinHeight(I)V

    .line 34
    return-void
.end method

.method private setLabel(Ljava/lang/String;)V
    .locals 2
    .parameter "label"

    .prologue
    .line 41
    invoke-virtual {p0}, Lde/dealdoktor/app/views/TabBarButton;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    .line 42
    .local v0, resource:Landroid/content/res/Resources;
    const v1, 0x7f020001

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-virtual {p0, v1}, Lde/dealdoktor/app/views/TabBarButton;->setButtonDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 43
    invoke-virtual {p0, p1}, Lde/dealdoktor/app/views/TabBarButton;->setText(Ljava/lang/CharSequence;)V

    .line 44
    const/high16 v1, 0x4140

    invoke-virtual {p0, v1}, Lde/dealdoktor/app/views/TabBarButton;->setTextSize(F)V

    .line 45
    return-void
.end method


# virtual methods
.method public setState(Ljava/lang/String;I)V
    .locals 0
    .parameter "label"
    .parameter "imageId"

    .prologue
    .line 37
    invoke-direct {p0, p1}, Lde/dealdoktor/app/views/TabBarButton;->setLabel(Ljava/lang/String;)V

    .line 38
    return-void
.end method
